<?php

namespace Modules\Car\Http\Requests\Order;

use Illuminate\Foundation\Http\FormRequest;

class ProcessingOrderRequest extends FormRequest
{
    public function rules()
    {
        return [
            'order_sn' => 'required',
            'send_employer_id' => 'required',
            'send_employer_nickname' => 'required',
            'send_employer_phone' => 'required',
            'gear_car_id' => 'required',
           // 'gear_car_name' => 'required',


        ];
    }
    public function messages()
    {
        return [
            'required'=>":attribute 必填项"
        ];
        //return parent::messages(); // TODO: Change the autogenerated stub
    }
    public function authorize()
    {
        return true;
    }
}
